home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 1 / ACE CD 1.iso / files / games / m-z / pgaplat1.dms / pgaplat1.adf / Install3 < prev    next >
AmigaDOS Script File  |  1991-02-13  |  1KB  |  45 lines

  1. .key PGA,param2
  2. .bra {
  3. .ket }
  4.  
  5. if "{PGA}" eq ""
  6.     echo "Install cancelled."
  7.     skip cancel
  8. endif
  9.  
  10. if not "{param2}" eq ""
  11.     echo "Path names with spaces must be enclosed in double quotes."
  12.     skip cancel
  13. endif
  14.  
  15. echo "*NInstalling PGA TOUR Golf to *"{PGA}*"."
  16.  
  17.  
  18. if not exists "{PGA}"
  19.     echo "*NCreating directory..."
  20.     makedir "{PGA}"
  21.     copy "PGA TOUR Program:Empty.drwr" "{PGA}.info"    
  22. else
  23.     echo "The directory *"{PGA}*" already exists."
  24.     ask "Do you wish to install to this directory? (Y to install, N to quit) :"
  25.     if not warn 
  26.         echo "Installation cancelled*N"
  27.         skip cancel
  28.     endif    
  29. endif
  30.  
  31. copy "PGA TOUR Program:F#?" "{PGA}"
  32. copy "PGA TOUR Program:G#?" "{PGA}"                         
  33. copy "PGA TOUR Program:P#?" "{PGA}"
  34. copy "PGA TOUR Program:T#?" "{PGA}"                    
  35. copy "PGA TOUR Courses:AVENEL.#?" "{PGA}"
  36. copy "PGA TOUR Courses:SAWGRASS.#?" "{PGA}"
  37. copy "PGA TOUR Courses:SHORES.#?" "{PGA}"
  38. copy "PGA TOUR Courses:PGAWEST.#?" "{PGA}"
  39. copy "PGA TOUR Courses:TR#?" "{PGA}"
  40.  
  41. echo "*N    PGA TOUR Golf installation finished."                                         
  42.                       
  43. lab cancel
  44.  
  45.